package com.mspbots.core.ticketai.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.JsonNode;
import com.mspbots.core.typehandler.JsonNodeTypeHandler;
import com.mspbots.core.wise.model.TenantEntity;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * com.mspbots.core.ticketai.model.TicketReject
 *
 * @author Alex bob(https://github.com/vnobo)
 * @date Created by 2019/11/26
 */
@Data
@TableName(value = "tenant_ticket_reject", autoResultMap = true)
public class TicketReject extends TenantEntity {

    private String username;
    private Long ticketId;
    private String reason;
    private LocalDateTime rejectTime;
    private LocalDateTime createdTime;
    private LocalDateTime updateTime;

    @TableField(typeHandler = JsonNodeTypeHandler.class, exist = false)
    private JsonNode content;


}
